<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>@yield('title')</title>
    <link rel="stylesheet" href="/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="/bootstrap/css/bootstrap-theme.css">
    @yield('css')
</head>
<body>
<div class="container">
    @if(session('status') === 1)
        <div class="alert alert-info">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            <strong>提示：</strong> {{ session('msg') }}
        </div>
    @elseif(session('status') === 0)
        <div class="alert alert-success">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            <strong>成功：</strong> {{ session('msg') }}
        </div>
    @endif
    @yield('content')
</div>
</body>
<script src="/js/jquery.js"></script>
<script src="/bootstrap/js/bootstrap.js"></script>
@yield('js')
</html>